
<tr>
<td><%= link_to simple_icon('note'), edit_invoice_payment_path(:id => payment, :invoice_id => params[:id]) %>
<%= link_to feather_icon('trash'), invoice_payment_path(:id => payment, :invoice_id => params[:id]), method: :delete, data: { confirm: 'Are you sure?' }%>
</td>
<td><%= payment.created_at.to_s(:date) %></td>
<td><%= payment.payment_method.label %></td>
<td><%= payment.card_number %></td>
<td><%= payment.card_provider.try(:label) %></td>
<td><%= payment.card_transaction_ref %></td>
<td><%= payment.amount %></td>
<td><%= payment.change %></td>
</tr>